﻿<ui:View x:Class="CPPEI.Coolzon.UI.Views.QueryView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
         xmlns:ui="clr-namespace:CPPEI.Coolzon.UI;assembly=Sunboxsoft.ChanceData.Core"
             xmlns:ve="clr-namespace:CPPEI.Coolzon.UI.ValueEditors;assembly=Sunboxsoft.ChanceData.Core"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid x:Name="gdLayout">
        <Grid.ColumnDefinitions>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition Height="40"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid x:Name="gdElements" Grid.ColumnSpan="2" Grid.Row="0" HorizontalAlignment="Right">
            <Grid.Resources>
                <Style TargetType="ve:ValueEditor">
                    <Setter Property="HorizontalAlignment" Value="Left" />
                    <Setter Property="VerticalAlignment" Value="Bottom" />
                    <Setter Property="Height" Value="30" />
                    <Setter Property="Width" Value="100" />
                </Style>
                <Style TargetType="TextBlock">
                    <Setter Property="TextAlignment" Value="Right" />
                    <Setter Property="HorizontalAlignment" Value="Right" />
                    <Setter Property="VerticalAlignment" Value="Center" />
                    <Setter Property="Height" Value="30" />
                    <Setter Property="Width" Value="100" />
                </Style>
            </Grid.Resources>
            <Grid.ColumnDefinitions>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
            </Grid.ColumnDefinitions>
        </Grid>
        <Button x:Name="btnSubmt" Content="确 定" Grid.Column="0" Grid.Row="1" Width="100" Height="30" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,5,0" Click="btnSubmt_Click"></Button>
        <Button x:Name="btnCancel" Content="取 消" Grid.Column="1" Grid.Row="1" Width="100" Height="30" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="5,0,0,0" Click="btnCancel_Click"></Button>
    </Grid>
</ui:View>
